package com.huamao.zh.constants;

/**
 * 功能说明：代理账户华宝类型 Author：spring Date：2017/11/20 11:19
 */
public enum KaiyuanAgentType {

	/**
	 * 华宝类型 1转换获得 2赎回拒绝退还 3赎回拒绝的手续费和税率的退还 32赎回支出 33赎回的手续费和税率
	 * <p>
	 * Author：spring Date：2017/11/20 11:41
	 */

	Transfer_in(1, "转换获得"), Redeem_refund(2, "赎回拒绝退还"), Redeem_refund_fee(3, "赎回拒绝的手续费和税率的退还"), Redeem(33, "赎回支出"), Redeem_fee(34, "赎回的手续费和税率");

	/**
	 * 功能编码
	 */
	private Integer code;

	/**
	 * 功能名称
	 */
	private String name;

	KaiyuanAgentType(Integer code, String name) {
		this.code = code;
		this.name = name;
	}

	public Integer getCode() {
		return code;
	}

	public KaiyuanAgentType setCode(Integer code) {
		this.code = code;
		return this;
	}

	public String getName() {
		return name;
	}

	public KaiyuanAgentType setName(String name) {
		this.name = name;
		return this;
	}
}
